package com.jf.dao;

import com.jf.bean.Teacher;
import com.jf.util.PageInfo;

import java.util.List;

public interface TeacherDao {
    List<Teacher> getPage(PageInfo pageInfo, Teacher teacher);
    int getCount(Teacher teacher);
    int addSelect(Teacher teacher);
    int updateSelect(Teacher teacher);
    int batchDelete(int[] ids);
    Teacher getById(int id);

    List<Teacher> getList();
}
